# -*- coding: utf-8 -*- 
#
# Description:
#
#  Definiton
#
#
#
# Changes:
#
# 2012-01-10
# Initial Commit
#
#
# Copyright 2010-2012, WyDev Team.
# Author: Polo35 (polo35580@hotmail.fr)
#
# Licenced under Academic Free License version 3.0
# Review WyGui README & LICENSE files for further details.

nname: 28
n 28(None)[url = URLItem(kbd.text, url=kbd.text, menu=browser)
browser.play(url)
kbd.hide()
]:
	i: 19(), 27()
	o: 

nname: 27
n 27(None)[]:
	i: 0(t)
	o: 28()

nname: 19
n 19(None)[]:
	i: 0(f)
	o: 28()

nname: 0
n 0(kbd.text)[browser = context['menu']
]:
	i: 
	o: 19(f), 27(t)

nname: 0
n 0(None)[browser = context['menu']
if not kbd.text:
	pass
url = URLItem(kbd.text, url=kbd.text, menu=browser)
browser.play(url)
kbd.hide()
]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb761236c>}
nname: 0
n 0(None)[def __do_goto(kbd):
	browser = context['menu']
	if not kbd.text:
		pass
	url = URLItem(kbd.text, url=kbd.text, menu=browser)
	browser.play(url)
	kbd.hide()

kbd = KeyboardWindow(_('Enter url'), text='http://', confirm_action=__do_goto)
kbd.show()
]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb760abcc>}
nname: 0
n 0(None)[browser = context['menu']
browser.bookmark_current()
]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb760abcc>}
nname: 0
n 0(None)[from __future__ import absolute_import
from pygui.window import KeyboardWindow
from pygui.item.web import URLItem
def execute_goto(context):
	def __do_goto(kbd):
		browser = context['menu']
		if not kbd.text:
			pass
		url = URLItem(kbd.text, url=kbd.text, menu=browser)
		browser.play(url)
		kbd.hide()

	kbd = KeyboardWindow(_('Enter url'), text='http://', confirm_action=__do_goto)
	kbd.show()

def execute_bookmark(context):
	browser = context['menu']
	browser.bookmark_current()

]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb760a3ac>}
from __future__ import absolute_import
from pygui.window import KeyboardWindow
from pygui.item.web import URLItem
def execute_goto(context):
	def __do_goto(kbd):
		browser = context['menu']
		if not kbd.text:
			pass
		url = URLItem(kbd.text, url=kbd.text, menu=browser)
		browser.play(url)
		kbd.hide()

	kbd = KeyboardWindow(_('Enter url'), text='http://', confirm_action=__do_goto)
	kbd.show()

def execute_bookmark(context):
	browser = context['menu']
	browser.bookmark_current()

